import request from '@/utils/request'

export function getMenu(data){
   return request({
       url:'/menulist',
       method:'get',
       params:data
   });
}

export function getAllMenu(){
   return request({
       url:'/allmenulist',
       method:'get'
   });
}

export function editAccount(data){
    return request({
        url:'/editaccount',
        method:'post',
        data:qs.stringify(data)
    });
}
